﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo.Modules.Common
{
    //[NHibernateEntity(Table = "Activities")]
    //public class Activity : ITargetable
    //{
    //    [PrimaryKey]
    //    public virtual int Id { get; set; }

    //    [Property]
    //    public virtual string Name { get; set; }

    //    [Property]
    //    public virtual string Code { get; set; }

    //    [BelongsTo(Column = "ID_TargetEntity_Entity")]
    //    public virtual Entity TargetEntity { get; set; }

    //    [Property]
    //    public virtual string TargetObjectId { get; set; }


    //    [Property]
    //    public virtual DateTime StartDate { get; set; }

    //    [Property]
    //    public virtual DateTime? EndDate { get; set; }

    //    [Property]
    //    public virtual ActivityDuration Duration { get; set; }


    //}

    //public enum ActivityDuration { 
    //    FullDay = 0,
    //    TimeSpan =1
    //}
}
